package com.yunhe.common.model.data;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 电流谐波越限对象
 * @author liuronglei
 */
public class CurrentHarmonicOvershoot {

    private Long id;
    private Long stationCode;
    private Long energyUnitCode;
    private String energyUnitTitle;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dtime;
    private String sequence;
    private String harmonicNum;
    private Double val;
    private Double threshold;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStationCode() {
        return stationCode;
    }

    public void setStationCode(Long stationCode) {
        this.stationCode = stationCode;
    }

    public Long getEnergyUnitCode() {
        return energyUnitCode;
    }

    public void setEnergyUnitCode(Long energyUnitCode) {
        this.energyUnitCode = energyUnitCode;
    }

    public String getEnergyUnitTitle() {
        return energyUnitTitle;
    }

    public void setEnergyUnitTitle(String energyUnitTitle) {
        this.energyUnitTitle = energyUnitTitle;
    }

    public Date getDtime() {
        return dtime;
    }

    public void setDtime(Date dtime) {
        this.dtime = dtime;
    }

    public String getSequence() {
        return sequence;
    }

    public void setSequence(String sequence) {
        this.sequence = sequence;
    }

    public String getHarmonicNum() {
        return harmonicNum;
    }

    public void setHarmonicNum(String harmonicNum) {
        this.harmonicNum = harmonicNum;
    }

    public Double getVal() {
        return val;
    }

    public void setVal(Double val) {
        this.val = val;
    }

    public Double getThreshold() {
        return threshold;
    }

    public void setThreshold(Double threshold) {
        this.threshold = threshold;
    }
}
